﻿(function () {
    var plugin = {
        name: '3linetable'
    };
    CKEDITOR.plugins.add(plugin.name, {
        requires: ['table', 'tabletools'],
        init: function (editor) {
            editor.addCommand(plugin.name, new CKEDITOR.dialogCommand(plugin.name));
            CKEDITOR.dialog.add(plugin.name, this.path + 'dialogs/3linetable.js');
            editor.ui.addButton('TreeLineTable',
			{
			    label: '插入三线表',
			    icon: this.path + 'TreeLineTable.gif',
			    command: plugin.name
			});
           
        }
    });
})();
